home *** CD-ROM | disk | FTP | other *** search
- Message-ID: <315D7713.1401@cybernet.dk>
- Date: Sat, 30 Mar 1996 19:01:55 +0100
- From: Benny Kristensen <bennykr@cybernet.dk>
- X-Mailer: Mozilla 2.0 (Win95; I)
- MIME-Version: 1.0
- Newsgroups: comp.lang.c++
- Subject: Re: CString FileName = "c:\windows\Myfile.ini"
- References: <4jg6qf$2d1@bignews.shef.ac.uk>
- Content-Type: text/plain; charset=iso-8859-2
- Content-Transfer-Encoding: 7bit
- NNTP-Posting-Host: aarppp147.cybernet.dk
- Path: news.cybernet.dk!
-
- Abdullah Alghamdi wrote:
- >
- > The compiler VC++ does not accept the following value for CString
- >
- > CString FileName = "c:\windows\Myfile.ini";
- >
- > I think it`s got problem with "\" character.
- >
- > any help will be appreciated.
- > Yours sincerely.
-
- In string literals, you always have to write "\\" to get "\".
- That is: you should write "c:\\windows\\Myfile.ini"
-
- Hi. Benny
-